import  { createApp } from 'vue'
import App from './App.vue'
import router from './router/index'
import store from './store/index'
import setupAntd from "./ant-design-vue/index";
// import ant from 'ant-design-vue';
import pinia from './pinia'
import NProgress from 'nprogress'

import "@assets/css/index.less"

//简单的配置，一般情况speed配置为500
NProgress.configure({ easing: 'ease', showSpinner: false })

const app = createApp(App)

// 全局挂载
// app.config.globalProperties.$get = get

setupAntd(app)
// app.use(ant);

app.use(router).use(store).use(pinia).mount('#app')
